Skip to content

Fix incorrect usage of HttpURLConnection input stream#219

Merged
tung2744 merged 1 commit into
authgear:mainfrom
louischan-oursky:dev-3096-socket-closed
Oct 17, 2025
Merged

Fix incorrect usage of HttpURLConnection input stream#219
tung2744 merged 1 commit into
authgear:mainfrom
louischan-oursky:dev-3096-socket-closed

Conversation

@louischan-oursky
Copy link
Copy Markdown
Contributor

ref DEV-3096

The input stream is supposed to be read and closed before
conn.disconnect() is called.

Reading the input stream after conn.disconnect() will result in
socket closed exception.
@tung2744 tung2744 merged commit 3f9c80f into authgear:main Oct 17, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants